package com.rran.study.chat.user.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author yy
 * @Type AccountDO.java
 * @Desc
 * @date 2020/8/11 12:48
 */
@Data
@TableName("account")
public class AccountDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 账号
     */
    private String account;

    /**
     * 密码
     */
    private String password;


    @TableField("bean_id")
    private String beanId;

    //是否删除
    @TableField("is_deleted")
    private Integer deleted;

    //创建时间
    @TableField("created_at")
    private Date createAt;

    //创建人
    @TableField("created_by")
    private String createBy;

    //修改时间
    @TableField("modified_at")
    private Date modifiedAt;

    //修改人
    @TableField("modified_by")
    private String modifiedBy;

}
